package com.web.exiaodao.remote.vo;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @author eason.zt
 * @ClassName: FavoriteTableVo
 * @Description:收藏表 Vo
 * @date 2015年3月23日 下午1:00:00
 */
@ApiModel(value = "收藏表Vo对象")
public class FavoriteTableVo {

    @ApiModelProperty(value = "主键，自动增长")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "收藏对象ID,收藏对象ID（favoriteObjectID）")
    private String favoriteObjectID;
    @ApiModelProperty(value = "收藏人员ID,收藏人员ID,用户id")
    private Long userId;
    @ApiModelProperty(value = " 类型,类型（2机构;22住;3商城;4玩;42:作者;游学5;服务公共1;12:家政护理; 13:医疗服务|医疗康复; 14:护理培训|培训义工 15:义工中心 ）")
    private String type;
    @ApiModelProperty(value = "收藏状态,收藏状态；取消收藏，在重新收藏是修改记录")
    private Boolean favoriteState;

    /**
     * 增加几个app要显示的字段
     */
    @ApiModelProperty(value = "名称;favName）")
    private String favName;
    @ApiModelProperty(value = "图片url;favUrl）")
    private String favUrl;
    @ApiModelProperty(value = "子标题;subName）")
    private String subName;


    public FavoriteTableVo(Long id, String favorite_ObjectID, Long userId, String type, Boolean FavoriteState) {
        this.id = id;
        this.favoriteObjectID = favorite_ObjectID;
        this.userId = userId;
        this.type = type;
        this.favoriteState = FavoriteState;
    }

    public FavoriteTableVo() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setFavoriteObjectID(String favoriteObjectID) {
        this.favoriteObjectID = favoriteObjectID;
    }

    public String getFavoriteObjectID() {
        return favoriteObjectID;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setFavoriteState(Boolean favoriteState) {
        this.favoriteState = favoriteState;
    }

    public Boolean getFavoriteState() {
        return favoriteState;
    }

    public String getFavName() {
        return favName;
    }

    public void setFavName(String favName) {
        this.favName = favName;
    }

    public String getFavUrl() {
        return favUrl;
    }

    public void setFavUrl(String favUrl) {
        this.favUrl = favUrl;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }
}

